</div>
<?php 
$theme_layout = get_option('reedwan_themelayout'); 
$footer_column = get_option('reedwan_footercolumn');
?>

<?php if ($theme_layout!="boxed"):?>
<?php if ($theme_layout=="full"){ echo '<div class="arrow-wrap">'; }?>
<div class="arrow row"><div class="arrow-down"></div></div>
<?php if ($theme_layout=="full"){ echo '</div>'; }?>
<?php endif; ?>

<?php if ($theme_layout=="full"){ echo '</div>'; }?>
<?php if(get_option('reedwan_show_footernav') == 'true'):?>
	<?php if ($theme_layout=="full"):?><div class="footer-nav-wrap"><?php endif; ?>	
		<div class="footer-nav row">
			<?php wp_nav_menu( array( 'container' =>false,'depth' => 1, 'theme_location' => 'bottomNav', 'menu_class' => 'bottomNav' ) ); ?>
		</div>
	<?php if ($theme_layout=="full"):?></div><?php endif; ?>	
<?php endif; ?>	


<?php if ($footer_column!="none"){ ?>
<!-- Footer Widget -->
<?php if ($theme_layout=="full"){ echo '<div class="footer-widget-wrap">'; }?>	
	<div class="footer-widget-block row">
	<?php
		if($footer_column == "footer1"){
			get_template_part('includes/footer1');	
		}
		if($footer_column == "footer2"){ 
			get_template_part('includes/footer2');
		}
		if($footer_column == "footer3"){ 
			get_template_part('includes/footer3');
		}
		if($footer_column == "footer4"){ 
			get_template_part('includes/footer4');
		}
	?>
	</div>
<?php if ($theme_layout=="full"){ echo '</div>'; }?>
<?php } ?>		
<!-- Footer -->
<?php if (get_option('reedwan_footer_text') || get_option('reedwan_show_social')=='true'):?>
<?php if ($theme_layout=="full"){ echo '<div class="footer-wrap" >'; }?>	
	<div class="footer footrow">
		<?php if (get_option('reedwan_footer_text')):?>
		<!-- Credits -->
		<div class="credits">
			<?php echo stripslashes (get_option('reedwan_footer_text')); ?>
		</div>
		<?php endif; ?>
		<?php if (get_option('reedwan_show_social')=='true'):?>
		<!-- Social -->
		<div class="social-footer-wrap">
			<div class="social-footer">
				<?php get_template_part('includes/social'); ?>
			</div>
		</div>
		<?php endif; ?>
	</div>
<?php if ($theme_layout=="full"){ echo '</div>'; }?>	
<?php endif; ?>	
	
	<?php
	if(get_option('reedwan_code_allow_google') == 'true') {
		echo stripslashes (get_option('reedwan_analytics'));
	}
	?>
	<?php wp_footer(); ?>
</body>
</html>